From: Florian Müllner Date: Tue, 12 Jan 2021 16:30:16 +0000 (+0100) Subject: weather: Adjust to renamed provider X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~627 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7458d5ad07915c27152162d77f925e5ffd148c27;p=gnome-shell.git weather: Adjust to renamed provider https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3577 Part-of: --- diff --git a/js/misc/weather.js b/js/misc/weather.js index 97880ea91..0c293bf25 100644 --- a/js/misc/weather.js +++ b/js/misc/weather.js @@ -68,9 +68,10 @@ var WeatherClient = class { this._world = GWeather.Location.get_world(); - let providers = GWeather.Provider.METAR | - GWeather.Provider.YR_NO | - GWeather.Provider.OWM; + const providers = + GWeather.Provider.METAR | + GWeather.Provider.MET_NO | + GWeather.Provider.OWM; this._weatherInfo = new GWeather.Info({ enabled_providers: providers }); this._weatherInfo.connect_after('updated', () => { this._lastUpdate = GLib.DateTime.new_now_local();